GetScanLine

This method obtains a single scan line from the imaG image and places the data into an array.

Syntax: imaG.GetScanLine nline , colorarray()
nline (long) Indicates which scan line of the image to obtain. Must be in the set [0 ... imaG.ImageResolutionY] .
colorarray() (long array) Contains the scan line’s pixel data. The number of elements needed for the array is equal to imaG.ImageResolutionX.

The colorarray must be defined without dimensions with the statment : Dim|Private|Public array() As Long .

See also SetScanLine